package cn.xshi.scms.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Desc 服务器CPU运行
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
@Data
@ApiModel(value="服务器CPU运行对象", description="服务器CPU运行")
public class SCMSMonitorCpu implements Serializable{

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	private String id;/**id**/

	@ApiModelProperty(value = "主表mac")
	private String mac;/**主表mac**/

	@ApiModelProperty(value = "CPU实际使用主频")
	private int cpuTotalMhz;/**CPU实际使用主频**/

	@ApiModelProperty(value = "CPU生产商")
	private String cpuProducer;/**CPU生产商**/

	@ApiModelProperty(value = "CPU缓存数量")
	private Long cpuCache;/**CPU缓存数量**/

	@ApiModelProperty(value = "CPU用户使用率")
	private String cpuUserUseRate;/**CPU用户使用率**/

	@ApiModelProperty(value = "CPU系统使用率")
	private String cpuSysUseRate;/**CPU系统使用率**/

	@ApiModelProperty(value = "CPU当前等待率")
	private String cpuWaitUseRate;/**CPU当前等待率**/

	@ApiModelProperty(value = "CPU当前错误率")
	private String cpuErrorUseRate;/**CPU当前错误率**/

	@ApiModelProperty(value = "CPU当前空闲率")
	private String cpuCurrentlyIdle;/**CPU当前空闲率**/

	@ApiModelProperty(value = "CPU总的使用率")
	private String cpuUseRate;/**CPU总的使用率**/

	@ApiModelProperty(value = "第几模块CPU信息")
	private int num;/**第几模块CPU信息**/

	@ApiModelProperty(value = "ip")
	private String ip;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;/**创建时间**/

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;/**修改时间**/
}
